package portal.monitor.dao.mapper;

import org.apache.ibatis.annotations.Param;
import portal.monitor.dao.MonitorHostGroup;

import java.util.List;

public interface MonitorHostGroupMapper {

    int insert(MonitorHostGroup record);
    
    MonitorHostGroup getNewsetRec();

    int deleteByPrimaryKey(Integer hostGroupId);

    int updateByPrimaryKey(MonitorHostGroup record);

    MonitorHostGroup selectByPrimaryKey(Integer hostGroupId);

    List<MonitorHostGroup> selectAll();

    List<MonitorHostGroup> selectByPage(@Param("currentPosition") Integer currentPage, @Param("onePageCount") Integer onePageCount);

    int hostGroupNum();
}